package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.SeckillSkuRelationEntity;

/**
 * 秒杀活动商品关联
 * @author RUN
 * @date 2022-11-29
 */
public interface SeckillSkuRelationService extends IService<SeckillSkuRelationEntity> {

    public static final String BEAN_ID = "mall.seckillSkuRelationService";

    /**
     * 分页查询秒杀活动商品关联列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建秒杀活动商品关联表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveSeckillSkuRelation(SeckillSkuRelationEntity seckillSkuRelation);


    /**
     * 修改秒杀活动商品关联表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateSeckillSkuRelation(SeckillSkuRelationEntity seckillSkuRelation);

    /**
     * 删除指定ID的秒杀活动商品关联
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteSeckillSkuRelation(Long id);

}

